package com.yhd.cloudmanage.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 俱乐部表Entity类
 *
 * @author liyan
 * @since 2020-06-11 15:54:29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("club_info")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="ClubInfo对象", description="俱乐部表")
public class ClubInfo implements Serializable {

    private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "自增Id")
        @TableId(value = "club_id", type = IdType.AUTO)
                    private Integer clubId;

    @ApiModelProperty(value = "俱乐部名称")
    @TableField("name")
            private String name;

    @ApiModelProperty(value = "所属公司。可以为空")
    @TableField("company_id")
            private Integer companyId;

    @ApiModelProperty(value = "俱乐部描述信息")
    @TableField("description")
            private String description;

    @ApiModelProperty(value = "是否有效。1：有效，2：失效")
    @TableField("is_valid")
            private Integer isValid;

    @ApiModelProperty(value = "逻辑删除。0：删除。1：未删除")
    @TableField("delete_flag")
            private Boolean deleteFlag;

    @ApiModelProperty(value = "创建人ID")
    @TableField("create_by_id")
            private Integer createById;

    @ApiModelProperty(value = "更新人ID")
    @TableField("update_by_id")
            private Integer updateById;

    @TableField("create_time")
            private LocalDateTime createTime;

    @TableField("update_time")
            private LocalDateTime updateTime;
}
